package jMiiEditor.mii.checker;

public abstract class MiiCheckerProposalAbstractAction
    implements MiiCheckerProposalAction
{
    private static final long serialVersionUID = 1L;
    /** @serial */
    private String message;
    /** @serial */
    private boolean isSelected;

    public MiiCheckerProposalAbstractAction(
            String  message,
            boolean isSelected
            )
    {
        this.message = message;
        this.isSelected = isSelected;
    }

    @Override
    public String getMessage()
    {
        return this.message;
    }

    @Override
    public boolean isSelected()
    {
        return this.isSelected;
    }

    @Override
    public void setSelected( boolean b )
    {
        this.isSelected = b;
    }
}
